﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JinfuyuanProject.Entity
{
    /// <summary>
    /// 
    ///</summary>

    public class Product
    {

        [Key]
        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>

        public int Id { get; set; }

        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>

        public string ProductName { get; set; }

        /// <summary>
        /// 备  注:商品厂家
        /// 默认值:
        ///</summary>

        public string ProductFactory { get; set; }

        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>

        public decimal Price { get; set; }

        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>

        public string ImgUrl { get; set; }

        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>

        public int? Number { get; set; }

        /// <summary>
        /// 备  注:条形码
        /// 默认值:
        ///</summary>

        public string Barcode { get; set; }

        /// <summary>
        /// 备  注:阈值（临界值）
        /// 默认值:
        ///</summary>

        public int? Threshold { get; set; }

        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>

        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>

        public int? IsDelete { get; set; }

    }
}

